
		$(document).ready(function(){
		$(" #navigation ul ").css({display: "none"}); // Opera Fix
		$(" #navigation li ").hover(function(){
				$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
				},function(){
				$(this).find('ul:first').css({visibility: "hidden"});
				});

			$("#switch").click(function(){
				$("#portfolio").hide().children("li").toggleClass("detailed");
				$("#portfolio").fadeIn();
			});
			
			$(".portfolio-item").hover(function(){
			$(this).children("a").children(".zoom").fadeIn("fast");
			},function(){
			$(this).children("a").children(".zoom").fadeOut("fast");
			});
			
		});